<?php
if(!defined('IN_CRONLITE'))exit();

$qqapiid=$conf['qqapiid'];
$qqloginid=$conf['qqloginid'];
$apiserverid=$conf['apiserver'];
$mail_api=isset($conf['mail_api'])?$conf['mail_api']:0;

if($apiserverid==1)
{
	$apiserver='http://wbrw.aliapp.com/';
}
elseif($apiserverid==2)
{
	$apiserver='http://3600.aliapp.com/';
}
elseif($apiserverid==4)
{
	$apiserver='http://online.sohuapps.com/';
}
else
{
	$apiserver='http://zztool.aliapp.com/';
}

$apiserver2='http://online.sohuapps.com/';
$apiserver3='http://51tool.aliapp.com/';

$qqapi_array1=array('http://cccyun.aliapp.com/','http://online2.aliapp.com/');
$qqapi_array2=array('http://cloud.sgwap.net/');

if($qqloginid==1)
{
	$qqloginapi='http://xscron.sinaapp.com/addqq.php?baseurl='.urlencode($siteurl).'&sitename='.urlencode($conf['sitename']);
}
elseif($qqloginid==2)
{
	$qqloginapi='http://cloud.sgwap.net/addqq.php?baseurl='.urlencode($siteurl).'&sitename='.urlencode($conf['sitename']);
}
elseif($qqloginid==3)
{
	$qqloginapi='http://online.sohuapps.com/addqq.php?baseurl='.urlencode($siteurl).'&sitename='.urlencode($conf['sitename']);
}

$qqlogin=($qqloginid!=0)?$qqloginapi:'index.php?mod=addqq';


if($mail_api==1)
{
	$mail_api_url='http://m.cccyun.cn/mail/';
}
elseif($mail_api==2)
{
	$mail_api_url='http://cloud.sgwap.net/mail/';
}
?>